package viqiang.ye.springdemo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import viqiang.ye.springdemo.service.HelloService;

@Controller
public class UserController {
    @Autowired
    private HelloService helloService;

    public String hello() {
        return helloService.sayHello();
    }
}
